home *** CD-ROM | disk | FTP | other *** search
- ;; $Id: Install,v 7.645 94/08/24 05:16:57 Jack Exp Locker: Jack $
-
- (set #codage-help (cat
- "Codage.library is my collection of useful routines. Scatterbrain will "
- "not run if it's not installed. Don't worry; it's small. (~4K)\n\n"
- ))
-
- (set #exe1-help (cat
- "Install the executable wherever you want it. If you want it to run "
- "every time you start your Amiga, put it in your SYS:WBStartup/ drawer. "
- "This file takes up about 100K of disk space.\n\n"
- ))
-
- (set #guide-help (cat
- "The on-line help file needs to installed where they can be found by MUI "
- "and AmigaGuide. The Help:" @language " drawer is one such place. "
- "This file takes needs about 80K of disk space.\n\n"
- ))
-
- (set #image-help (cat
- "These are some images I created. Install them if you like; they are "
- "in NO way crucial to Scatterbrain. They need about 35K of disk space.\n\n"
- ))
-
- (set #assign-help (cat
- "Here you may add an assign to your s:User-Startup or s:Startup-Sequence "
- "file. The SB: assign is the initial directory Scatterbrain chooses for "
- "storing its data in, unless you specify otherwise. So, this assign is "
- "not necessary, but does make things slightly more convenient.\n\n"
- ))
-
- (welcome)
-
- ;;
- ;; Executable
- ;;
- (set chosen-dest (askdir
- (prompt "Where shall I install the executable?")
- (help #exe1-help @askdir-help)
- (default "SYS:WBStartup")
- ))
-
- (if (exists (tackon chosen-dest "SB.info"))
- (copyfiles
- (prompt "Files to install")
- (source "")
- (dest chosen-dest)
- (help #exe1-help @copyfiles-help)
- (confirm)
- (choices "SB")
- )
- (copyfiles
- (prompt "Files to install")
- (source "")
- (dest chosen-dest)
- (help #exe1-help @copyfiles-help)
- (choices "SB")
- (confirm)
- (infos)
- )
- )
-
- (complete 40)
-
- ;;
- ;; On-line help
- ;;
- (copyfiles
- (prompt "Help files to install")
- (source "")
- (dest (cat "Help:" @language))
- (choices "SB.guide")
- (infos)
- (confirm)
- (help #guide-help @copyfiles-help)
- )
-
- (complete 70)
-
- ;;
- ;; libs
- ;;
- (copylib
- (source "libs/codage.library")
- (help #codage-help @copylib-help)
- (prompt "Installing codage.library in libs:")
- (dest "libs:")
- (confirm)
- )
-
- (complete 80)
-
- ;;
- ;; Image files
- ;;
- (if (exists "MUI:Images" (noreq))
- (set image-dest "MUI:Images")
- (set image-dest "SYS:Prefs/MUI-Images")
- )
-
- (copyfiles
- (prompt "Extra MUI images to install")
- (help #image-help @copyfiles-help)
- (source "images/")
- (dest image-dest)
- (all)
- (confirm)
- )
-
- (complete 90)
-
- ;;
- ;; Assign SB:
- ;;
- (startup @app-name
- (prompt "Shall I add an assign for SB: to your startup?")
- (help #assign-help @startup-help)
- (command (cat "ASSIGN SB: " chosen-dest))
- )
-
- (complete 100)
-
- (set @default-dest chosen-dest)